package cn.tedu.egmybatis1.mapper;

import cn.tedu.egmybatis1.pojo.User;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper {
    @Insert("INSERT INTO product(id,title,price,stock) " +
            "VALUES (${id},${title},${price},${stock}) ")
    void insertUser(User user);
}
